<?php
  include_once('./config/config.php');
  $title = '首页';
  $action=$_GET['action'];
  if($action == 'Logout') {
    setcookie('LoginAdmin',null,time()-1);
    ShowMsg('退出成功','login.php');
  }
?>

<!DOCTYPE html>
<html lang="en">
  <head>
    <!-- 引入公共样式 -->
    <?php include_once('common/meta.php');?>

    <!-- 引入公共js -->
    <?php include_once('common/script.php'); ?>
  </head>

  <body>
    
    <!-- 引入头部 -->
    <?php include_once('common/header.php');?>
    
    <!-- 引入侧边菜单 -->
    <?php include_once('common/menu.php'); ?>

    <div class="content">
        <div class="header">
            <h1 class="page-title">后台首页</h1>
        </div>
        <ul class="breadcrumb">
            <li><a href="index.html">Home</a> <span class="divider">/</span></li>
            <li class="active">Index</li>
        </ul>

        <!-- 引入底部 -->
        <?php include_once('common/footer.php');?>
    </div>
  </body>
</html>


